<template>
  <div>
    app
    <hr>
    <Ch2Slot>
      <p>秦始皇 <b>蒙毅</b></p>
      <p>金喜善</p>
    </Ch2Slot>
    <h1>插槽默认值</h1>
    <Ch2Slot></Ch2Slot>
    <h1>具名插槽</h1>
    <Ch2Slot>
      <template #footer1>
        <div style="background-color: black; color: white;">我是footer页脚</div>
      </template>
    </Ch2Slot>
    <hr>
    <Ch2Slot>
      <template v-slot:footer1>
        <div style="background-color: black; color: white;">我是footer页脚2</div>
      </template>
    </Ch2Slot>
  </div>
</template>

<script setup>
import Ch2Slot from './coms/Ch2Slot.vue';
</script>

<style lang="scss" scoped>

</style>